home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_apache.idb / usr / freeware / catman / a_man / cat8 / rotatelogs.Z / rotatelogs
Encoding:
Text File  |  1999-07-16  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      rrrroooottttaaaatttteeeellllooooggggssss((((8888))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaarrrrcccchhhh 1111999999998888))))     rrrroooottttaaaatttteeeellllooooggggssss((((8888))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       rotatelogs - rotate Apache logs without having to kill the
  10.       server
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       rrrroooottttaaaatttteeeellllooooggggssss _l_o_g_f_i_l_e _r_o_t_a_t_i_o_n_t_i_m_e
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.       rrrroooottttaaaatttteeeellllooooggggssss is    a simple program for use in conjunction    with
  17.       Apache's piped logfile feature which can be used like    this:
  18.  
  19.          TransferLog "|rotatelogs /path/to/logs/access_log 86400"
  20.  
  21.       This creates the files /path/to/logs/access_log.nnnn where
  22.       nnnn is the system time at which the log nominally starts
  23.       (this    time will always be a multiple of the rotation time,
  24.       so you can synchronize cron scripts with it).     At the    end of
  25.       each rotation    time (here after 24 hours) a new log is
  26.       started.
  27.  
  28.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  29.       _l_o_g_f_i_l_e
  30.            The path    plus basename of the logfile. The suffix .nnnn
  31.            is automatically    added.
  32.  
  33.       _r_o_t_a_t_i_o_n_t_i_m_e
  34.            The rotation time in seconds.
  35.  
  36.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.       hhhhttttttttppppdddd((((8888))))
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                          (printed 5/3/99)
  64.  
  65.  
  66.  
  67.